﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WPS.SDK.exception
{
    public class YunHtmlException:YunResultException
    {
        public YunHtmlException(String htmlstring, int code)
            :base(null, htmlstring, code, null)
        {
        }

        public override bool needRetry()
        {
            String result = getResult();
            return (result == null) || (result.Length == 0);
        }
    }
}
